<?php

//二维数组去重
function arr_unique($arr2d){
    foreach ($arr2d as $k=>$v) {
        $v=join(',',$v);
        $temp[]=$v;
    }

    $temp = array_unique($temp);
    //[0] => string(20) "6,生活2,1525268074"
    //[1] => string(28) "5,生活你最美,1525266731"
    foreach($temp as $k => $v){
        $temp[$k] = explode(',', $v);
    }

    return $temp;

}


